package com.glela.platform.mapper;

import com.glela.platform.model.UserAdvice;
import com.glela.platform.model.request.RequestUserAdviceModel;

public interface UserAdviceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RequestUserAdviceModel requestUseradvice);

    int insertSelective(UserAdvice record);

    UserAdvice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserAdvice record);

    int updateByPrimaryKey(UserAdvice record);
    /**
     * 按条件查询反馈意见数量
     * @param userId
     * @return
     */
    public int selecAdviceNum(Long userId);
}